Skip to content

perf: optimize coordinator duty runtime#19532

Draft
jtuglu1 wants to merge 1 commit into
apache:masterfrom
jtuglu1:coordinator-duty-perf
Draft

perf: optimize coordinator duty runtime#19532
jtuglu1 wants to merge 1 commit into
apache:masterfrom
jtuglu1:coordinator-duty-perf

Conversation

@jtuglu1

@jtuglu1 jtuglu1 commented May 30, 2026

Copy link
Copy Markdown
Contributor

Description

Not yet ready for review.

Release note


Key changed/added classes in this PR
  • MyFoo
  • OurBar
  • TheirBaz

This PR has:

  • been self-reviewed.
  • added documentation for new or modified features or behaviors.
  • a release note entry in the PR description.
  • added Javadocs for most classes and all non-trivial methods. Linked related entities via Javadoc links.
  • added or updated version, license, or notice information in licenses.yaml
  • added comments explaining the "why" and the intent of the code wherever would not be obvious for an unfamiliar reader.
  • added unit tests or modified existing tests to cover new code paths, ensuring the threshold for code coverage is met.
  • added integration tests.
  • been tested in a test Druid cluster.

@jtuglu1 jtuglu1 added this to the 38.0.0 milestone Jun 16, 2026
@jtuglu1 jtuglu1 force-pushed the coordinator-duty-perf branch from 924dcf0 to 520c157 Compare June 25, 2026 07:55
@jtuglu1 jtuglu1 force-pushed the coordinator-duty-perf branch 2 times, most recently from b0cea24 to a2df321 Compare June 25, 2026 08:24
Comment on lines +118 to +128
return new DataSegment(
DATASOURCE,
interval,
"v1",
Collections.emptyMap(),
Collections.emptyList(),
Collections.emptyList(),
null,
0,
1
);

private static DataSegment segment(String datasource, Interval interval, String version)
{
return DataSegment.builder()
@jtuglu1 jtuglu1 force-pushed the coordinator-duty-perf branch from a2df321 to fc83ff7 Compare June 27, 2026 00:01
@jtuglu1 jtuglu1 force-pushed the coordinator-duty-perf branch from fc83ff7 to 205af94 Compare July 1, 2026 19:30
@jtuglu1 jtuglu1 marked this pull request as ready for review July 1, 2026 20:34
@jtuglu1 jtuglu1 marked this pull request as draft July 1, 2026 20:34
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants